package com.example.entity;

import java.io.Serializable;

public class Information implements Serializable {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer id;
    private String name;
    private String content;
    private String file;
    private String img;
    private Integer score;
    private String time;
    private String recommend;
    private Integer userId;
    private String status;
    private String descr;

    private String userName;


    public Information() {
    }

    public Information(Integer id, String name, String content, String file, String img, Integer score, String time, String recommend, Integer userId, String status, String descr, String userName) {
        this.id = id;
        this.name = name;
        this.content = content;
        this.file = file;
        this.img = img;
        this.score = score;
        this.time = time;
        this.recommend = recommend;
        this.userId = userId;
        this.status = status;
        this.descr = descr;
        this.userName = userName;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return content
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置
     * @param content
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 获取
     * @return file
     */
    public String getFile() {
        return file;
    }

    /**
     * 设置
     * @param file
     */
    public void setFile(String file) {
        this.file = file;
    }

    /**
     * 获取
     * @return img
     */
    public String getImg() {
        return img;
    }

    /**
     * 设置
     * @param img
     */
    public void setImg(String img) {
        this.img = img;
    }

    /**
     * 获取
     * @return score
     */
    public Integer getScore() {
        return score;
    }

    /**
     * 设置
     * @param score
     */
    public void setScore(Integer score) {
        this.score = score;
    }

    /**
     * 获取
     * @return time
     */
    public String getTime() {
        return time;
    }

    /**
     * 设置
     * @param time
     */
    public void setTime(String time) {
        this.time = time;
    }

    /**
     * 获取
     * @return recommend
     */
    public String getRecommend() {
        return recommend;
    }

    /**
     * 设置
     * @param recommend
     */
    public void setRecommend(String recommend) {
        this.recommend = recommend;
    }

    /**
     * 获取
     * @return userId
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return status
     */
    public String getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * 获取
     * @return descr
     */
    public String getDescr() {
        return descr;
    }

    /**
     * 设置
     * @param descr
     */
    public void setDescr(String descr) {
        this.descr = descr;
    }

    /**
     * 获取
     * @return userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 设置
     * @param userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String toString() {
        return "Information{serialVersionUID = " + serialVersionUID + ", id = " + id + ", name = " + name + ", content = " + content + ", file = " + file + ", img = " + img + ", score = " + score + ", time = " + time + ", recommend = " + recommend + ", userId = " + userId + ", status = " + status + ", descr = " + descr + ", userName = " + userName + "}";
    }
}
